﻿using System;
using System.Collections.Generic;
using System.Text;

namespace SHKF.B2C.WanLiNiu.Model.Inter.OpenTradeListTrades
{
     public class Order
    {
        /// <summary>
        /// 原始货币种类
        /// </summary>
        public string currency_code { get; set; }

        public decimal currency_sum { get; set; }

        /// <summary>
        /// 退款标记 0:否；1:是
        /// </summary>
        public int has_refund { get; set; }

        /// <summary>
        /// 明细是否赠品 0/1,1为赠品
        /// </summary>
        public int is_gift { get; set; }

        /// <summary>
        /// 是否组合商品
        /// </summary>
        public bool is_package { get; set; }

        public string item_name { get; set; }

        /// <summary>
        /// 线上商品id
        /// </summary>
        public string oln_item_id { get; set; }

        /// <summary>
        /// 线商品名称
        /// </summary>
        public string oln_item_name { get; set; }

        /// <summary>
        /// 线上规格id
        /// </summary>
        public string oln_sku_id { get; set; }

        /// <summary>
        /// 线上状态:1:等待付款 2:等待发货 ,部分发货 3:已完成 4:已关闭 5: 等待确认 6:已签收 0: 未建交易
        /// </summary>
        public int oln_status { get; set; }

        /// <summary>
        /// 明细id，单据级唯一(is_split拆分后会相同)
        /// </summary>
        public string order_id { get; set; }

        /// <summary>
        /// 应收款
        /// </summary>
        public decimal payment { get; set; }

        /// <summary>
        /// 单价(商品标价)
        /// </summary>
        public decimal price { get; set; }

        /// <summary>
        /// 商品应收(原价)
        /// </summary>
        public decimal receivable { get; set; }

        public string remark { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public int size { get; set; }

        /// <summary>
        /// 规格编码
        /// </summary>
        public string sku_code { get; set; }

        public string talent_id { get; set; }

        public string sys_goods_uid { get; set; }
        public string sys_spec_uid { get; set; }

        public decimal tax_rate { get; set; }

        public string sn_value { get; set; }

        public int status { get; set; }

        public string sub_order_no { get; set; }

        public string tp_oid { get; set; }
        public string unit { get; set; }
        public string tp_tid { get; set; }
        public string tid_snapshot { get; set; }

        public decimal order_total_discount { get; set; }

        public decimal gx_payment { get; set; }

        public string extend_info { get; set; }
    }
}
